package com.lex.service;

import com.lex.common.api.CommonResult;
import com.lex.data.admin.model.LexCmsMenu;
import com.lex.entity.params.MenuQueryParams;

public interface MenuService {
    //获取用户菜单
    CommonResult getUserMenuList();
    //获取用户权限标识
    CommonResult getUserPermCode();
    //获取所有菜单列表
    CommonResult getAllMenuList(MenuQueryParams queryParams,
                                Integer pageSize,
                                Integer page);
    //删除菜单
    CommonResult deleteMenu(Long menuId);
    //添加菜单
    CommonResult addMenu(LexCmsMenu menu);
    //修改菜单
    CommonResult updateMenu(LexCmsMenu menu);
    //获取角色所有菜单列表
    CommonResult getRoleAllMenu();

}
